package com.pro.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
* @ClassName: JsComment
* @Author: Kai
* @DATE: 2022/2/3
* @TIME: 下午 03:19
*/
public class JsComment {

  private Integer id;
  private Integer userId;
  private Integer commodityId;
  private Integer type;
  private String userType;
  private String status;
  private String content;
  private Integer parentId;

  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date commentDate;
  private Integer display;
  private Integer fabulous;
  private Integer reply;
  private String createId;

  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date createDate;
  private String updateId;

  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date updateDate;

  private String account;//用户账号
  private String userName;//用户名称字段
  private String userTable;//用户表名
  private String typeName;//评论类型名称字段
  private String typeTable;//评论类型表名
  private String typeId;//评论类型id字段


  private String afterUserAccount;//
  private String afterUserUrl;//
  private String beforeUserAccount;//
  private String beforeUserUrl;//

  public String getAfterUserAccount() {
    return afterUserAccount;
  }

  public void setAfterUserAccount(String afterUserAccount) {
    this.afterUserAccount = afterUserAccount;
  }

  public String getAfterUserUrl() {
    return afterUserUrl;
  }

  public void setAfterUserUrl(String afterUserUrl) {
    this.afterUserUrl = afterUserUrl;
  }

  public String getBeforeUserAccount() {
    return beforeUserAccount;
  }

  public void setBeforeUserAccount(String beforeUserAccount) {
    this.beforeUserAccount = beforeUserAccount;
  }

  public String getBeforeUserUrl() {
    return beforeUserUrl;
  }

  public void setBeforeUserUrl(String beforeUserUrl) {
    this.beforeUserUrl = beforeUserUrl;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public Integer getCommodityId() {
    return commodityId;
  }

  public void setCommodityId(Integer commodityId) {
    this.commodityId = commodityId;
  }

  public Integer getType() {
    return type;
  }

  public void setType(Integer type) {
    this.type = type;
  }

  public String getUserType() {
    return userType;
  }

  public void setUserType(String userType) {
    this.userType = userType;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public Integer getParentId() {
    return parentId;
  }

  public void setParentId(Integer parentId) {
    this.parentId = parentId;
  }

  public Date getCommentDate() {
    return commentDate;
  }

  public void setCommentDate(Date commentDate) {
    this.commentDate = commentDate;
  }

  public Integer getDisplay() {
    return display;
  }

  public void setDisplay(Integer display) {
    this.display = display;
  }

  public Integer getFabulous() {
    return fabulous;
  }

  public void setFabulous(Integer fabulous) {
    this.fabulous = fabulous;
  }

  public Integer getReply() {
    return reply;
  }

  public void setReply(Integer reply) {
    this.reply = reply;
  }

  public String getCreateId() {
    return createId;
  }

  public void setCreateId(String createId) {
    this.createId = createId;
  }

  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }

  public String getUpdateId() {
    return updateId;
  }

  public void setUpdateId(String updateId) {
    this.updateId = updateId;
  }

  public Date getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(Date updateDate) {
    this.updateDate = updateDate;
  }

  public String getAccount() {
    return account;
  }

  public void setAccount(String account) {
    this.account = account;
  }

  public String getUserName() {
    return userName;
  }

  public void setUserName(String userName) {
    this.userName = userName;
  }

  public String getUserTable() {
    return userTable;
  }

  public void setUserTable(String userTable) {
    this.userTable = userTable;
  }

  public String getTypeName() {
    return typeName;
  }

  public void setTypeName(String typeName) {
    this.typeName = typeName;
  }

  public String getTypeTable() {
    return typeTable;
  }

  public void setTypeTable(String typeTable) {
    this.typeTable = typeTable;
  }

  public String getTypeId() {
    return typeId;
  }

  public void setTypeId(String typeId) {
    this.typeId = typeId;
  }
}
